package com.cabinet.service.mybatis;

import java.util.List;

import com.cabinet.po.IctOrder;
import com.cabinet.service.dto.CommoditiesPageUtil;
import com.cabinet.service.dto.MyOrderDto;
import com.cabinet.service.dto.SellerOrderDto;

public interface IctOrderMapper {
    int deleteByPrimaryKey(Long id);

    int insert(IctOrder record);

    int insertSelective(IctOrder record);

    IctOrder selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(IctOrder record);

    int updateByPrimaryKey(IctOrder record);
    
    public List<MyOrderDto> selectUserOrderByUserId(Long userId);
    
    
    public List<SellerOrderDto> selectSellerOrderBySellerId(CommoditiesPageUtil c);
    
    public int getSellerOrderCountBySellerId(CommoditiesPageUtil c);
}